package com.zhangdi.demo.es.mapper;

import com.iowl.search.dto.CompanyEngineer;
import com.iowl.search.dto.CompanyErMajorInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by zhangdi on 2021/01/21 20:13:48.
 */
@Mapper
@Repository
public interface CompanyEngineerMapper {
    List<CompanyEngineer> findByCompanyId(long companyId);
    String[] findErNameByCompanyId(long companyId);
    List<CompanyErMajorInfo> companyEngineerMajorCount(long companyId);
    Long findCompanyIdById(long id);
}
